<?php
/**
 * 标签管理
 */
class TagController extends AdminBase{
	public function actionIndex(){
		$this->baseIndex('TagModel');
	}
	public function actionCreate(){
		$this->baseCreate('TagModel');
	}
	public function actionUpdate(){
		$this->baseUpdate('TagModel');
	}
	public function actionDelete(){
		$this->baseDelete('TagModel');
	}
	public function actionShowGoods($id){
		$_GET['TagGoodsModel']['TagID'] = $id;
		$this->baseIndex('TagGoodsModel', array('with' => 'GoodsModel'));		
	}
}